;;; packages - package definitions for GNU Guix
;;; Copyright (C) 2016, 2017 ng0
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU Affero General Public License as
;;; published by the Free Software Foundation, either version 3 of the
;;; License, or (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU Affero General Public License for more details.
;;;
;;; You should have received a copy of the GNU Affero General Public License
;;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

(define-module (ng0 packages irc)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages irc)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages aspell)
  #:use-module (gnu packages autogen)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages base)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages curl)
  #:use-module (gnu packages cyrus-sasl)
  #:use-module (gnu packages file)
  #:use-module (gnu packages gettext)
  #:use-module (gnu packages gnupg)
  #:use-module (gnu packages guile)
  #:use-module (gnu packages lua)
  #:use-module (gnu packages ncurses)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages python)
  #:use-module (gnu packages tcl)
  #:use-module (gnu packages web))

;;; This is weechat built against LibreSSL instead of OpenSSL.
(define-public weechat-libressl
  (package
    (inherit weechat)
    (name "weechat-libressl")
    (inputs
     `(("ncurses" ,ncurses)
       ("diffutils" ,diffutils)
       ("gettext" ,gettext-minimal)
       ("libltdl" ,libltdl)
       ("libgcrypt" ,libgcrypt "out")
       ("zlib" ,zlib)
       ("aspell" ,aspell)
       ("curl" ,curl)
       ("gnutls" ,gnutls)
       ("guile" ,guile-2.0)
       ("libressl" ,libressl)
       ("cyrus-sasl" ,cyrus-sasl)
       ("lua" ,lua-5.1)
       ("python" ,python-2)
       ("perl" ,perl)
       ("tcl" ,tcl)))))
